Create the temporary buffer to the size of the interesction of the
authorFederico Mena Quintero <federico@redhat.com>
Wed, 24 Nov 1999 08:19:58 +0000 (08:19 +0000)
committerArturo Espinosa <unammx@src.gnome.org>
Wed, 24 Nov 1999 08:19:58 +0000 (08:19 +0000)
commitb990b30723467684bade78df4f503143e108c043
tree6f6ae06153e580eb3861b3bdcb0d9aabb09615f6
parent0b793d2cc89a07ebb77378ad68211f60e45036ce
Create the temporary buffer to the size of the interesction of the

1999-11-22  Federico Mena Quintero  <federico@redhat.com>

* src/gnome-canvas-pixbuf.c (gnome_canvas_pixbuf_draw): Create the
temporary buffer to the size of the interesction of the bounding
box and the expose area, not the whole expose area.  This speeds
up things a lot.

* src/gdk-pixbuf-render.c (gdk_pixbuf_render_threshold_alpha): Do
not paint black on the mask, since we already cleared it in a
single gdk_draw_rectangle() operation.
gdk-pixbuf/ChangeLog
gdk-pixbuf/gnome-canvas-pixbuf.c
gdk/gdkpixbuf-render.c